package com.sicent.app0013.operate.service;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sicent.app0013.operate.dao.FavoriteInternetBarDao;
import com.sicent.app0013.operate.model.FavoriteInternetBar;
import com.sicent.operate.common.base.interf.BaseMapper;
import com.sicent.operate.common.base.service.BaseServiceSupport;

@Service("favoriteInternetBarService")
public class FavoriteInternetBarService extends  BaseServiceSupport<FavoriteInternetBar, Integer>{
	@Autowired
	private FavoriteInternetBarDao favoriteInternetBarDao;
	
	@Override
	public BaseMapper<FavoriteInternetBar, Integer> getMapper() {
		return favoriteInternetBarDao;
	}
	
	public int getCountByCondition(Map<String, Object> map){
		return favoriteInternetBarDao.getCountByCondition(map);
	}
}